comment
authorJoey Hess <joeyh@joeyh.name>
Tue, 20 Sep 2022 18:02:09 +0000 (14:02 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 20 Sep 2022 18:02:09 +0000 (14:02 -0400)
doc/todo/does_not_preserve_timestamps/comment_14_9a3f50f1b8cfd1cc0da83937a36e1369._comment [new file with mode: 0644]

diff --git a/doc/todo/does_not_preserve_timestamps/comment_14_9a3f50f1b8cfd1cc0da83937a36e1369._comment b/doc/todo/does_not_preserve_timestamps/comment_14_9a3f50f1b8cfd1cc0da83937a36e1369._comment
new file mode 100644 (file)
index 0000000..a48afdc
--- /dev/null
@@ -0,0 +1,18 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 14"""
+ date="2022-09-20T17:55:45Z"
+ content="""
+Note that `git-annex add` does preserve the timestamp of the file
+while adding it to the annex. Much the same as a file's timestamp is
+the same after `git add` as it was before running that command.
+When `git-annex add` replaces a file with a symlink, it even makes the
+symlink's timestamp be the same as the original file.
+
+What git-annex does not do is try to store the timestamp in git and arrange
+for clones that receive the file to get the same timestamp. There are lots
+of things like this that someone *might* want git to preserve, but git
+doesn't, and it's out of scope for git-annex to try to work around git's
+limitations in these areas. Plenty of room for other tools that add
+git tracked timestamps, etc. Many such tools exist.
+"""]]